package io.renren.modules.offlinestudy.service;

import io.renren.modules.offlinestudy.entity.SubscribeEntity;
import io.renren.modules.offlinestudy.entity.SubscribedateEntity;
import io.renren.modules.onlinestudy.entity.XcBmEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author zhubsh
 * @email sd_zhusbh@163.com
 * @date 2018-10-31 09:49:39
 */
public interface SubscribedateService {
	
	List<SubscribedateEntity> queryObjects(Integer id);
	
	List<SubscribedateEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(List<SubscribedateEntity> subscribedates);
	
	void update(List<SubscribedateEntity> subscribedates);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);


	// **************************下面为线下预约*********************

    SubscribeEntity querySubcribeObject(Integer id);

    List<SubscribeEntity> querySubscribeList(Map<String, Object> map);

    int querySubscribeTotal(Map<String, Object> map);

    void subscribeSave(SubscribeEntity subscribe);

    void subscribeUpdate(SubscribeEntity subscribe);

    void subscribeDeleteBatch(Integer[] ids);

    List<SubscribedateEntity> selectValidateSubscribeDate(String date, String studytype);

    List<Map<String, Object>> selSubscribeExcel(Map<String, Object> map);

    XcBmEntity selXyxx(String userid);
}
